﻿enum CellState { Dead, Alive, Wolf, Sheep, Gras }

interface ICell {
    grid: IGrid;
    State: CellState;
    NextState: CellState;
    LastState: CellState; 
    InitCell(grid: IGrid, state: CellState, x: number, y: number);
    CalculateNextState();
    TakeOverNextState();
    IterationsSinceLastCellChange: number;
} 